home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / inimaint.zip / INISHARE.TXT < prev   
Text File  |  1993-03-01  |  14KB  |  301 lines

  1.                          INIMAINT
  2.                  Copyright 1992, Carry Associates
  3.  
  4. INIMAINT is an OS/2 PM program to display and manage *.INI files and
  5. is distributed by Carry Associates, 124 Doe View Lane, Pound Ridge,
  6. NY, 10576. Telephone number is 914-764-4390. The application was
  7. written by and is supported by Larry J. Martin. You can obtain
  8. Technical support by calling the number above, by leaving an Email on
  9. Compuserve for 71435,470 or for the same ID in Section 9,
  10. Applications, on the IBMOS2 Compuserve Forum.
  11.  
  12. WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
  13.  
  14. INIMAINT gives you the ability to make virtually any change you want
  15. to any of the INI files in your OS/2 environment. Making changes to
  16. these files must be done with care because you can do serious and
  17. unpredictable damage to your environment. It is STRONGLY SUGGESTED
  18. that you insure that you have a usable backup of any INI file that
  19. you modify in any way.
  20.  
  21. WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
  22.  
  23.                      SHAREWARE VERSION
  24.  
  25. The version of INIMAINT that accompanys this documentation is a
  26. Shareware version of the program that must be registered with Carry
  27. Associates, if you intend to use it except for a brief test. This is
  28. not a free program and has been Copyrighted by Carry Associates. It
  29. is a violation of the Copyright Laws to use the program without
  30. registering and paying for it. The purpose of the unregistered
  31. version is ONLY to give users an opportunity to try the program so
  32. that they can determine whether they feel the program is worth the
  33. $29.95 cost.
  34.  
  35. Unregistered copies of INIMAINT will display an initial dialog that
  36. will note the unregistered condition. This dialog will stay on the
  37. screen for 15 seconds, unless dismissed by clicking on the OK button.
  38. The dialog cannot be dismissed until it has been visible for 3
  39. seconds. In addition, the Title Bar will contain a note that this is
  40. an unregistered version of INIMAINT.
  41.  
  42. To obtain your registration identifier please send a check for $29.95
  43. per license for single licenses or $299 for an unlimited copies
  44. license made payable to:
  45.  
  46. Carry Associates
  47. 124 Doe View Lane
  48. Pound Ridge, NY 10576
  49.  
  50. INIMAINT was written by and is support by:
  51.  
  52. Larry J. Martin
  53. Tel: 914-764-4390
  54. Fax: 914-764-0336
  55. Compuserve: 71435,470
  56.  
  57. Once you have your registration identifier, you can register your
  58. copy of INIMAINT by selecting the :hp2.Register Your Copy:ehp2. entry
  59. on the Actions Menu. Once you are registered, this entry will no
  60. longer appear on the menu.
  61.  
  62. If you want a preregistered copy of INIMAINT, add $7.00 for postage
  63. and handling. We will return a diskette with a preregistered copy of
  64. INIMAINT, an Install CMD file and an INIMAINT registration ID. The
  65. purpose of the ID is to allow preregistered users to download new
  66. versions, register and use them until they can obtain a preregistered
  67. update. The preregistered version will run as registered without any
  68. need to register it on each system.
  69.  
  70. The cost of a preregistered update is $10.00 per license for single
  71. licenses or $100.00 for an unlimited copies license, plus $7.00
  72. handling and postage.
  73.  
  74.  
  75.                       CURRENT VERSION
  76.  
  77. The enclosed is Version 1.1a of INIMAINT and has the following
  78. known problems and/or incomplete features:
  79.  
  80. 1. The Install must be done manually.
  81.  
  82. 2. Long Filenames are not supported.
  83.  
  84. 3. The Initial Dialog cannot be dismissed using the Enter Key, the
  85. Mouse must be used.
  86.  
  87. 4. If the Groups Dialog is displayed, a new Group is selected and
  88. then OK is selected without actually making any changes to any of the
  89. Groups or the Applications in a Group, then the Last Group Displayed
  90. is not updated and a subsequent use of the Groups Dialog will revert
  91. back to the previous Last Group.
  92.  
  93.                  REPORTED COMMENTS OR PROBLEMS
  94.  
  95. The following items are problems that have been reported, but cannot
  96. be reproduced or comments that I have received from one or more
  97. users. Any assistance on the problems or additions to the comments is
  98. more than welcome.
  99.  
  100. 1. It was pointed out that although the Cursor in the Value MLE can
  101. be an Insert Cursor, there is no way to Insert information. My
  102. response is that the only way to change the length of a Value is by
  103. using the Replace Value Dialog because changing the expected length
  104. of an INI Key Value can cause unusual and unexpected errors. I
  105. further responded that the only way to change the cursor is to
  106. change it System wide, therefore, changing it only when it is in the
  107. MLE is a non trivial problem and I have not attempted to do it even
  108. though it leaves the apparent conflict between the appearance of the
  109. Cursor and the actual effect when a key is depressed.
  110.  
  111. 2. There have been reports of the MLE not being repainted under OS/2
  112. 2.0 after a window that has overlaid it has been dismissed. This does
  113. not happen under 1.3 and anyone having the problem should report it
  114. to Larry Martin.
  115.  
  116. 3. At least one user is getting an error=10 when attempting to MOVE
  117. entries from the OS2SYS.INI file to an INI file on a Diskette. I have
  118. not been able to duplicate the error and would like a report from
  119. anyone else who has the same error. No dumps are necessary, but a
  120. detailed description of any INIMAINT actions taken immediately prior
  121. to the attempt to do the MOVE would be helpful.
  122.  
  123.                         INSTALLATION
  124.  
  125. To install the beta version you must:
  126.  
  127. 1. Copy the INIMAINT.EXE and INICOPY.EXE files to a subdirectory that
  128. is included in the PATH environment variable in your CONFIG.SYS.
  129.  
  130. 2. Copy the INIMTAPI.DLL file to a subdirectory that
  131. is included in the LIBPATH environment variable in your CONFIG.SYS.
  132.  
  133. 3. Copy the INIHELP.HLP file to a subdirectory that
  134. is included in the HELP environment variable in your CONFIG.SYS.
  135.  
  136. 4. You may optionally add INIMAINT to one of the Groups on your
  137. Desktop.
  138.  
  139.                         OPERATION
  140.  
  141. To run INIMAINT simply start it by clicking on the INIMAINT.EXE file
  142. or start it from the Group to which it has been added. When INIMAINT
  143. first comes up, it will default to editing the INI file that is
  144. identified by the system as the user INI file. This is normally
  145. C:\OS2\OS2.INI. The name of the current file is always displayed in
  146. the TITLE bar of the main window.
  147.  
  148. INIMAINT will locate the window in a default location, but you can
  149. move and or size the window as you choose. When INIMAINT is shut
  150. down, it will remember the file that it was currently working with as
  151. well as the size and location of the window and will restore all of
  152. these the next time it is run.
  153.  
  154.                    MAIN WINDOW DESCRIPTION
  155.  
  156. The Main Window contains three standard child windows. Two of these
  157. windows are Listboxes and the third is a MLE.
  158.  
  159. The upper left Listbox will always contain the list of Applications
  160. for the current INI file.
  161.  
  162. The upper right Listbox will contain the list of Key Names for the
  163. Application that is currently selected in the Application Listbox.
  164.  
  165. The MLE, at the bottom, will contain the hex and ASCII display of the
  166. contents of the Key Name that is selected in the Key Listbox.
  167.  
  168. The Cursor will normally be forced to the MLE and the value of the
  169. data can be modified by changing either the hex or the ASCII fields
  170. of the MLE. The cursor cannot be moved to any portion of the MLE that
  171. does not contain data that can be modified and any modification to
  172. one type of data, hex or ASCII, will immediately be reflected in the
  173. other data.
  174.  
  175. The actual data in the INI file is not changed until the user selects
  176. the Update Item on the Action Menu or selects a different Key or
  177. Application in the same INI file. At this time, you will be asked to
  178. confirm that you want the INI file modified, unless you have turned
  179. the warning option off, see below.
  180.  
  181.                  INIMAINT MENU OPTIONS
  182.  
  183. The various INIMAINT Menu options are:
  184.  
  185. 1. Options will display a Dialog that gives you the ability to:
  186.    A. Turn off the display of the opening INIMAINT Dialog.
  187.    B. Turn off the dialogs that will ask for confirmation before
  188.       Deleting or Modifying the contents of the Current INI file.
  189.  
  190. 2. Groups will display a Dialog that allows you to define and manage
  191. the various Groups for this INI file. A bit of explanation is needed
  192. here. INIMAINT gives the user the ability to arrange the applications
  193. in any INI file into Groups. These Groups can then be used in a
  194. number of different INIMAINT areas and greatly ease the problems of
  195. handling an INI file with a large number of applications. For
  196. example, the OS2.INI file might be divided into two Groups, System
  197. and Private. The System Group would be the applications put in the
  198. file by OS2 Install and the Private Group would be the remaining
  199. applications. More or fewer Groups could be defined. How the user can
  200. use Groups within the INIMAINT structure will become more clear
  201. below. The Groups Dialog gives the user the ability to define new
  202. Groups, to add and delete Applications and Delete Groups.
  203.  
  204. The procedure for establishing a new Group is to select Groups in the
  205. Group Dialog, select New Group, and supply a name. Once this is done,
  206. the Title of the Dialog will show the current Group and the new Group
  207. will be added to the Group Menu. You add Applications to the Group by
  208. selecting them in the Listbox.
  209.  
  210. The Listbox will display a specific Group or, if you want to know if
  211. there are any Applications that are not in a Group, will display all
  212. Groups. A single Application can be a member of up to 5 different
  213. Groups at any one time, so it is possible to define overlapping
  214. Groups.
  215.  
  216. 3. Size will calculate the minimum amount of Disk Space that would be
  217. required for an INI file that contained a selected set of
  218. Applications in the current INI file. When this item is selected, the
  219. user will be asked what he wants to Size. There will always be two
  220. choices, the current file and the currently selected Application. If
  221. there are any Groups defined, then they will be included among the
  222. selections. If there are more than one Group defined, then there will
  223. be an All Groups selection.
  224.  
  225. 4. Actions gives the user the ability to do a number of things:
  226.    A. Update Current Key will write any changes that have been made
  227.       to the data in the MLE into the current INI file.
  228.    B. Delete Application and Delete Key will do the obvious.
  229.    C. Add Application, Add Key and Replace Key Value are all the same
  230.       function except entered at different points. Add Application
  231.       will ask for the name of a new Application to add to the
  232.       current INI file and then fall through to the Add Key, since
  233.       the Applications must have at least one Key. The Add Key will
  234.       ask for the name of the new Key and then fall through to the
  235.       Replace Key Value, since any Key Name must have an associated
  236.       Value. This will cause the Key Dialog box to be displayed. The 
  237.       Application and Key Names will be shown at the top of the
  238.       Dialog, followed by the current length of the data, the ASCII
  239.       representation of the data and the hex representation of the
  240.       data. This is the only option that will change the length of
  241.       a Key Value. Care must be taken when doing this, as many
  242.       applications depend on knowing the length of the INI items. As
  243.       the ASCII or hex values are changed, the changes will appear in
  244.       the other window and the length will be updated. The only
  245.       exception is when only a single hex digit is entered. The ASCII
  246.       window is not updated until two hex characters are entered.
  247.    D. Copy and Move will ask the user to select a Target File for the
  248.       Copy/Move and will then give the user the same choices as Size
  249.       above. The selected Applications will then be moved or copied
  250.       to the Target INI file, which will be created, if it does not
  251.       exist. This function is done Key by Key, so it will sometimes
  252.       take some time. However, the PM message queue is not blocked
  253.       while the move/copy is being done. The actual move or copy is
  254.       done by a separate program INICOPY, that can also be run as a
  255.       batch program, see below.
  256.  
  257. 5. New File gives the ability to select a new INI file as the current
  258. file.
  259.  
  260. 6. Dump will display a Dialog box with the various OS/2 and INI error
  261. codes and a dump of all of the significant INIMAINT variables.
  262. Although this Dialog can be displayed at anytime, it is primarily for
  263. handling problems and bugs. Anytime there is a problem with INIMAINT,
  264. this Dialog will be displayed before INIMAINT terminates. Please
  265. use the Write Button to write this information to a file for analysis
  266. anytime you receive and error.
  267.  
  268. 7. Exit and Help are self-explanatory.
  269.  
  270.                              INICOPY
  271.  
  272. INICOPY is the program that is used by INIMAINT to do the actual
  273. COPY/MOVE operations. This option is implemented as a separate program
  274. so that the user will have the ability to make copies of INI files,
  275. including the User and System INI files, at any time during the day.
  276.  
  277. The parameters expected by INICOPY are:
  278.  
  279. Required Parameters:
  280.  
  281. -Ifilename  - The fully qualified path and filename of the Source,
  282.               Input, INI file.
  283.  
  284. -Ofilename  - The fully qualified path and filename of the Target,
  285.               Output, INI file. The Target will be created if it does
  286.               not exist.
  287.  
  288. Optional Parameters:
  289.  
  290. -Fx         - Function requested - Default is C(opy)
  291.               C = C(opy)
  292.               M = M(ove)
  293.  
  294. -E          - COPY/MOVE Entire INI file - Default
  295.                                             
  296. -A          - COPY/MOVE All Groups
  297.                                              
  298. -Ggroup     - COPY/MOVE Specific Group
  299.                                              
  300. -Sapp       - COPY/MOVE Specific Application
  301.